package com.jt.demo1.service;

import org.springframework.stereotype.Service;

@Service
public class User  implements UserService{
    @Override
    public void hello() {
        System.out.println("创建对象");
        System.out.println("开始事务");
        System.out.println("新增用户成功");
        System.out.println("结束事务");
    }
}
